﻿using RTracker.Models.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RTracker.Areas.Recruitment.Models.CandidateDriveRound
{
    public class GCandidateDriveRound
    {
        // members declaration
        private List<CCandidateDriveRound> _lstCandidateDriveRound;
        private CCandidateDriveRound _oCCandidateDriveRound;                              // to store object of CUser
        private CStatus _oCStatus;                          // to store object of CStatus
        private CPaging _oCPaging;
        private int m_nId;   

         // Default Constructor
        public GCandidateDriveRound()
        {
            _lstCandidateDriveRound = null;
            _oCCandidateDriveRound = null;
            _oCStatus = null;
            _oCPaging = null;
        }

        // parameterized constructor
        public GCandidateDriveRound(List<CCandidateDriveRound> lstUser, CCandidateDriveRound oCUser, CStatus oCStatus, CPaging oCPaging)
        {
            _lstCandidateDriveRound = lstUser;
            _oCCandidateDriveRound = oCUser;
            _oCStatus = oCStatus;
            _oCPaging = oCPaging;
        }

        #region  "Properties"


        public List<CCandidateDriveRound> LstCandidateDriveRound
        {
            get { return _lstCandidateDriveRound; }
            set { _lstCandidateDriveRound = value; }
        }



        /// <summary>
        /// Used to store object of CUser
        /// </summary>
        public CCandidateDriveRound CandidateDriveRound
        {
            get { return _oCCandidateDriveRound; }
            set { _oCCandidateDriveRound = value; }
        }


        /// <summary>
        /// Used to store object of CStatus
        /// </summary>
        public CStatus Status
        {
            get { return _oCStatus; }
            set { _oCStatus = value; }
        }

        /// <summary>
        /// Used to store object of CPaging
        /// </summary>
        public CPaging Paging
        {
            get { return _oCPaging; }
            set { _oCPaging = value; }
        }


        /// <summary>
        /// Used to store organization id
        /// </summary>
        public int Id
        {
            get { return m_nId; }
            set { m_nId = value; }
        }

        #endregion
    }
}